/* 颜色 */
.bg{
	background-color: #f8f8f8;
}
.change-green{
	// background: linear-gradient(to right,#00b6b4,#00d496);
	background: linear-gradient(to right,#FF8823,#FF8823);
}
.bg-black{background-color:#333333;}
.bg-red{
	background-color: red;
}
.bg-white{
	background-color: #fff;
}
.red{
	color: red;
}
.white{
	color: #fff;
}
.gray{
	color:#333;
}
.gray-1{
	color:#666;
}
.gray-2{
	color:#999;
}
.pink{
	background-color: pink;
}

// padding margin
@for $value from 1 through 500{
  .pd-#{$value}, .ptb-#{$value}, .pt-#{$value} { padding-top: $value*1px; }
  .pd-#{$value}, .ptb-#{$value}, .pb-#{$value} { padding-bottom: $value*1px; }
  .pd-#{$value}, .plr-#{$value}, .pl-#{$value} { padding-left: $value*1px; }
  .pd-#{$value}, .plr-#{$value}, .pr-#{$value} { padding-right: $value*1px; }
  .mg-#{$value}, .mtb-#{$value}, .mt-#{$value} { margin-top: $value*1px; }
  .mg-#{$value}, .mtb-#{$value}, .mb-#{$value} { margin-bottom: $value*1px; }
  .mg-#{$value}, .mlr-#{$value}, .ml-#{$value} { margin-left: $value*1px; }
  .mg-#{$value}, .mlr-#{$value}, .mr-#{$value} { margin-right: $value*1px; }
}

// size
@for $value from 1 through 100{
  .size-#{$value}{ font-size: $value*1px !important; }
}

// width
@for $value from 10 through 5000{
  .w-#{$value}{ width: $value*1px !important; }
}

// height
@for $value from 10 through 5000{
  .h-#{$value}{ height: $value*1px !important; }
}

// line-height
@for $value from 10 through 5000{
  .lh-#{$value}{ line-height: $value*1px; }
}

// radius
.radius {
  border-radius: 50%;
}
@for $value from 1 through 50{
  .radius-#{$value}{ border-radius: $value*1px; }
}

/* flex */
.center{
	display: flex;
	justify-content: center;
	align-items: center;
}
.flex{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.flex_l{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.flex_r{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.flex1{
	display: flex;
}
.flex-start{
	justify-content: flex-start;
}
.flex-end{
	justify-content: flex-end;
}
.flex-center{
	justify-content: center;
}
.flex-around{
	justify-content: space-around;
}
.flex-between{
	justify-content: space-between;
}
.flex-top{
	align-items: flex-start;
}
.flex-middle{
	align-items: center;
}
.flex-bottom{
	align-items: flex-end;
}
.flex-column{
	flex-direction: column;
}
.flex-column1{
	display: flex;
	flex-direction: column;
}
.flex-wrap{
	flex-wrap: wrap;
}



.bd1{border-bottom:1px solid #f9f9f9;}


/* 全屏 */
.vw100 {
  width: 100vw !important;
}
.vh100 {
  height: 100vh !important;
}
.min100 {
  min-height: 100vh !important;
}
.h100 {
  height: 100% !important;
}
.w100 {
  width: 100% !important;
}

/* 其他 */
.relative{
	position: relative;
}
.absolute{
	position: absolute;
}
.fixed{
	position: fixed;
}
.sticky{
	position: sticky;
	width: 100%;
	top: 0;
}
.fixed-bottom{
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99;
}
.block{
	display: block;
}
.hide {
  display: none;
}
.show {
  display: block;
}
.autowrap {
  word-wrap: break-word;
  word-break: normal;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.bold {
  font-weight: 700;
}
.over-hidden {
  overflow: hidden;
}
.flex-1{flex:1;}
.danhang{
	overflow: hidden;/*超出部分隐藏*/
	text-overflow:ellipsis;/* 超出部分显示省略号 */
	white-space: nowrap
}
.duohang{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.radius2{border-radius: 50%;}